package com.ruoyi.bizsys.service;

import java.util.List;

import com.ruoyi.bizsys.domain.AppDeviceContactapplistRelative;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 设备app通讯录关联Service接口
 *
 * @author african-loan
 * @date 2022-03-25
 */
public interface IAppDeviceContactapplistRelativeService extends IService<AppDeviceContactapplistRelative>{
    /**
     * 查询设备app通讯录关联
     *
     * @param id 设备app通讯录关联ID
     * @return 设备app通讯录关联
     */
    public AppDeviceContactapplistRelative selectAppDeviceContactapplistRelativeById(Long id);

    /**
     * 查询设备app通讯录关联列表
     *
     * @param appDeviceContactapplistRelative 设备app通讯录关联
     * @return 设备app通讯录关联集合
     */
    public List<AppDeviceContactapplistRelative> selectAppDeviceContactapplistRelativeList(AppDeviceContactapplistRelative appDeviceContactapplistRelative);

    /**
     * 新增设备app通讯录关联
     *
     * @param appDeviceContactapplistRelative 设备app通讯录关联
     * @return 结果
     */
    public int insertAppDeviceContactapplistRelative(AppDeviceContactapplistRelative appDeviceContactapplistRelative);

    /**
     * 修改设备app通讯录关联
     *
     * @param appDeviceContactapplistRelative 设备app通讯录关联
     * @return 结果
     */
    public int updateAppDeviceContactapplistRelative(AppDeviceContactapplistRelative appDeviceContactapplistRelative);

    /**
     * 批量删除设备app通讯录关联
     *
     * @param ids 需要删除的设备app通讯录关联ID
     * @return 结果
     */
    public int deleteAppDeviceContactapplistRelativeByIds(Long[] ids);

    /**
     * 删除设备app通讯录关联信息
     *
     * @param id 设备app通讯录关联ID
     * @return 结果
     */
    public int deleteAppDeviceContactapplistRelativeById(Long id);

    String getBy7DdayData(String fingerprint, String userId, int type);

    int checkContactAppList(String fingerprint,String userId);

    void copyData(String fingerprint, String userId);
}
